import request from '@/router/axios';

//附件
//列表
export const getFileList = (row) => {
  return request({
    url: '/api/hg-public/attach/attachList',
    method: 'post',
    params: row
  })
}
//上传
export const uploadFile = (row) => {
  return request({
    url: '/api/hg-public/attach/upload',
    method: 'post',
    data: row
  })
}

//删除 
export const removeFile = (params) => {
  return request({
    url: '/api/hg-public/attach/deleteAttachs',
    method: 'post',
    params: {
      ...params,
    }
  })
}
 